package com.csw.clazzMe.dao;

import com.csw.clazzMe.entity.Clazz;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.mybatis.spring.annotation.MapperScan;

import java.util.List;

/**
 * Created by Administrator on 2019/10/28.
 */
@Mapper
public interface ClazzDao {
	List<Clazz> queryAll();

	void add(@Param("c") Clazz clazz);

	List<Clazz> queryAllByName(@Param("name") String name);
}
